package com.diandian.backend.file.resp;

import java.io.Serializable;

public class FileInfoRespFile implements Serializable {

    /**
     * 文件id
     */
    private String fileId;
    /**
     * 源文件名称
     */
    private String fileOriginalName;
    /**
     * 存储文件名称
     */
    private String fileSaveName;
    /**
     * 文件存储完整url = 当前文件服务地址 + 文件存储路径
     */
    private String completeUrl;
    /**
     * 当前文件服务地址（文件访问前缀）
     */
    private String serverUrl;
    /**
     * 文件存储路径（用于与文件服务地址拼接后进行访问）
     */
    private String filePath;
    /**
     * 上传结果标识：true 成功 false 失败
     */
    private boolean uploadSuccess;
    /**
     * 上传结果消息
     */
    private String uploadMessage;

    public FileInfoRespFile() {
    }

    public FileInfoRespFile(boolean uploadSuccess, String uploadMessage) {
        this.uploadSuccess = uploadSuccess;
        this.uploadMessage = uploadMessage;
    }

    public boolean getUploadSuccess() {
        return uploadSuccess;
    }

    public void setUploadSuccess(boolean uploadSuccess) {
        this.uploadSuccess = uploadSuccess;
    }

    public String getUploadMessage() {
        return uploadMessage;
    }

    public void setUploadMessage(String uploadMessage) {
        this.uploadMessage = uploadMessage;
    }

    public String getFileId() {
        return fileId;
    }

    public void setFileId(String fileId) {
        this.fileId = fileId;
    }

    public String getFileOriginalName() {
        return fileOriginalName;
    }

    public void setFileOriginalName(String fileOriginalName) {
        this.fileOriginalName = fileOriginalName;
    }

    public String getFileSaveName() {
        return fileSaveName;
    }

    public void setFileSaveName(String fileSaveName) {
        this.fileSaveName = fileSaveName;
    }

    public String getCompleteUrl() {
        return completeUrl;
    }

    public void setCompleteUrl(String completeUrl) {
        this.completeUrl = completeUrl;
    }

    public String getServerUrl() {
        return serverUrl;
    }

    public void setServerUrl(String serverUrl) {
        this.serverUrl = serverUrl;
    }

    public String getFilePath() {
        return filePath;
    }

    public void setFilePath(String filePath) {
        this.filePath = filePath;
    }
}
